//
//  Contact.h
//  04-集合(二)
//
//  Created by dllo on 16/7/7.
//  Copyright © 2016年 daming. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Contact : NSObject
#pragma mark - 定义成员变量
//{
//    NSString *_name;
//    NSString *_sex;
//    NSString *_phoneNumber;
//    NSString *_address;
//    NSUInteger _age;
//    NSString *_groupName;
//}
#pragma mark - 定义属性
@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *sex;
@property (nonatomic, retain) NSString *phoneNumber;
@property (nonatomic, retain) NSString *address;
@property (nonatomic, retain) NSString *groupName;
@property (nonatomic, assign) NSUInteger age;
#pragma mark - 自定义初始化
- (instancetype)initWithName:(NSString *)name
                 phoneNumber:(NSString *)phoneNumber;
#pragma mark - 显示联系人信息方法
- (void)showContact;

@end
